home *** CD-ROM | disk | FTP | other *** search
/ Fantasy Artist 39 / Fantasy Artist - Issue 39.bin / js / video.js < prev    next >
Text File  |  2011-02-02  |  278b  |  13 lines

  1. $(document).ready(function() {
  2.     $(".videoButton div").each(function() {
  3.         $(this).css("background-image", $(this).parent().css("background-image"));
  4.         $(this).hover(
  5.             function() {
  6.                 $(this).fadeTo(500, 1);
  7.             },
  8.             function() {
  9.                 $(this).fadeTo(500, 0);
  10.             }
  11.         );
  12.     });
  13. });